package asteroids.model.programs.statements;

import exception.StopActionClassException;
import asteroids.model.programs.Program;

public class SkipStatement extends ActionStatement {
	
	public SkipStatement(){
		
	}

	@Override
	public void execute(Program program) throws StopActionClassException {
		if(!isExecuted()){
			setExecuted();
		throw new StopActionClassException(this);
		}
	}

	

}
